﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Entities
{
    [SugarTable("tsc_device_info")]
    public class DeviceInfo
    {
        [SugarColumn(ColumnName ="Id",IsPrimaryKey = true,IsIdentity =true)]
        public int Id { get; set; }
        [SugarColumn(ColumnName = "DEVICE_IP")]
        public string? DeviceIp { get; set; }
        [SugarColumn(ColumnName = "DEVICE_MAC")]
        public string? DeviceMac { get; set; }
        [SugarColumn(ColumnName = "DEVICE_DESC")]
        public string? DeviceDesc { get; set; }
        [SugarColumn(ColumnName = "DEVICE_TYPE")]
        public string? DeviceType { get; set; }
        [SugarColumn(ColumnName = "SNMP_PORT")]
        public string? SnmpPort { get; set; }
        [SugarColumn(ColumnName = "SNMP_VERSION")]
        public string? SnmpVersion { get; set; }
        [SugarColumn(ColumnName = "DEVICE_COMMUNITY")]
        public string? DeviceCommunity { get; set; }
        [SugarColumn(ColumnName = "DEVICE_WRITE_COMMUNITY")]
        public string? DeviceWriteCommunity { get; set; }
        [SugarColumn(ColumnName = "DEVICE_STATE")]
        public string? DeviceState { get; set; }
        [SugarColumn(ColumnName = "NETWORK_ID")]
        public string? NetworkId { get; set; }
        [SugarColumn(ColumnName = "OID")]
        public string? OId { get; set; }


    }
}
